<include file="Member:header"/>
<div id="content">
    <div class="crumbs_nav mb">
        <span class="icon">当前位置：</span>
        <a href="/">首页</a>
        &gt; 订单查询结果
    </div>
    <!--end crumbs_nav-->
    <div class="w720 m">
        <h3 class="orange mb">您好，共找到{$datalist|count}个订单：</h3>
        <!--user_tbox start-->
        <div class="user_tbox">
            <div class="tit-h">
                <table class="car_title" width="100%">
                    <tr>
                        <th width="270">
                            宝贝信息
                        </th>
                        <th width="100">
                            交易状态
                        </th>
                        <th width="230">
                            收货人信息
                        </th>
                        <th>
                            评价
                        </th>
                    </tr>
                </table>
            </div>
            <volist name="datalist" id="vo">
                <div class="order_no">
                    <span>订单号：{$vo.code}</span>
                    <span>订单总金额：<em class="pice2 ">
                            <s class="s1 bk_element">
                            </s>{$vo.final_fee}
                        </em></span>
                    付款方式：支付宝 <span>下单时间：{$vo.happen|date="y-m-d H:i:s",###}</span>
                </div>
                <table cellspacing="0" cellpadding="0" class="order-table mb ml" style="width:700px;">
                    <tr>
                        <td colspan="5" height="10">
                        </td>
                    </tr>
                    <volist name="vo.good" id="gvo" key="gi">
                        <tr class="uncod border_line">
                            <td width="240">
                                <a title="" target="_blank" href="{:U('Good/show?good_id='.$gvo['good_id'])}" class="blue">{$gvo['good_img']|advstr='90px','90px',$srcpre.'_thumbs/','class:itempic'}
                                    {$gvo.good_name}</a>
                                <br/>
                                价格：{$gvo.good_price}元
                                <br/>
                                数量：{$gvo.good_num}件 
                                <br/>
                                {$gvo.good_attr}
                            </td>
                            <td width="100" class="s-del">
                                {$sets['order_progress'][$vo['progress']]}
                                <br/>
                                <eq name="vo.progress" value="1">
                                    <a class="blue" href="#">[去付款]</a>
                                </eq>
                            </td>
                            <td width="230" align="left">
                                {$vo['consignee']} 	  {$vo['zipcode']} 
                                <br/>
                                {$vo['consignee_addr']}
                                <br/>
                                {$vo['consignee_phone']}
                                <br/>
                                {$vo['consignee_tel']}
                            </td>
                            <td class="s-del">
                                <eq name="vo['progress']" value="4">
                                    <eq name="gvo.is_comment" value="0">
                                        <a href="{:U('Member/comment?comment_id=0&orderform_id='.$gvo['orderform_id'].'&good_id='.$gvo['good_id'])}" target="_blank" class="red">等待评价</a>
                                        <else/><a href="{:U('Member/comment?comment_id=1&orderform_id='.$gvo['orderform_id'].'&good_id='.$gvo['good_id'])}" target="_blank" class="blue">已评价</a>
                                    </eq>
                                    <else/>-
                                </eq>
                            </td>
                        </tr>
                    </volist>
           
                </table>
            </volist>
        </div>
        <!--user_tbox end-->
    </div>
    <!--end w720-->
</div>
<include file="Layout:footer"/>